obj-y += vd_net.o
vd_net-objs := vd_net_init.o vd_net_udp.o vd_net_tcp.o

ifndef $(LINUX_KERN_VER)
LINUX_KERN_VER := $(shell uname -r)
endif

EXTRA_CFLAGS = -I$(M)/../include -Wall

KERNDIR ?= /lib/modules/$(LINUX_KERN_VER)/build
PWD := $(shell pwd)

default:
	$(MAKE) -C $(KERNDIR) M=$(PWD)

clean:
	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.symvers modules.order Module.markers
